/* 
 *  Controller.h 
 *  iCPU
 *
 *  Created by Kosovan Sasha
 *  Licensed under GNU GPL v2
 *
 */

#import <Cocoa/Cocoa.h>

@interface Controller : NSObject
{
    IBOutlet id aboutWindow;
    IBOutlet id barMenu;
    IBOutlet id ipBox;
    IBOutlet id ipWindow;
	IBOutlet NSDrawer * drawer;
	IBOutlet NSProgressIndicator * progress;
	NSStatusItem * barItem;
	NSSocketPort *socketPort;
	NSFileHandle *listeningSocket;
	NSThread * currentThread;
	NSAutoreleasePool * currentPool;
}
- (IBAction)call:(id)sender;
- (IBAction)stop:(id)sender;
- (IBAction)newChat:(id)sender;
- (IBAction)showAbout:(id)sender;
- (void)acceptConnection:(NSNotification *)notification;

@end
